home *** CD-ROM | disk | FTP | other *** search
- DB(Level%, 1).Code = 1
- DB(Level%, 1).Y = 0
- DB(Level%, 1).X = 0
- DB(Level%, 1).Height = 17
- DB(Level%, 1).Wdth = 65
- DB(Level%, 1).BorderType = -1
- DB(Level%, 1).PrimaryColor = -c1
- DB(Level%, 1).WindowColor = -c1
- DB(Level%, 1).Text = "Simulated MultiTasking"
- DB(Level%, 1).TextColor = c2
- DB(Level%, 1).SecondaryColor = c1
-
- LB(1).Text = "DiaLogic handles all logic needed to run a dialog box."
- LB(2).Text = "There are several ways in which dialog boxes may be"
- LB(3).Text = "activated. You may pass full control to a dialog box"
- LB(4).Text = "from a calling program until the dialog box is closed"
- LB(5).Text = "and cleared from the screen. You may also set up a dialog"
- LB(6).Text = "box and regain control immediately. This allows the call-"
- LB(7).Text = "ing program to do something before control is passed back"
- LB(8).Text = "to DiaLogic. You may also generate a dialog box to"
- LB(9).Text = "be used in polled mode. This allows a background process"
- LB(10).Text = "to take place while the dialog box is active. This dialog"
- LB(11).Text = "box demonstrates such simulated multitasking. These modes"
- LB(12).Text = "of operation allow you to have full control of all dialog"
- LB(13).Text = "boxes. If needed you may also modify dialog boxes as they "
- LB(14).Text = "are being used! This allows you to change certain options"
- LB(15).Text = "based on what the user has already chosen. The example be-"
- LB(16).Text = "low demonstrates how a calling program may update a dialog"
- LB(17).Text = "box on-the-fly while multitasking."
-
- DB(Level%, 2).Code = 3
- DB(Level%, 2).Y = 2
- DB(Level%, 2).X = 2
- DB(Level%, 2).Height = 6
- DB(Level%, 2).Wdth = 1
- DB(Level%, 2).WindowColor = c1
- DB(Level%, 2).PrimaryColor = c1
- DB(Level%, 2).SecondaryColor = c2
- DB(Level%, 2).SelectedColor = -1
- DB(Level%, 2).StarColor = c1
- DB(Level%, 2).ItemLength = 60
- DB(Level%, 2).KeyColor = 0
- DB(Level%, 2).BorderType = 2
- DB(Level%, 2).Link = 0
- DB(Level%, 2).TextY = 0
- DB(Level%, 2).TextX = 0
- DB(Level%, 2).TextColor = c1
- DB(Level%, 2).NumberOne = 1
- DB(Level%, 2).NumberTwo = 17
- DB(Level%, 2).Default = 0
-
- DB(Level%, 3).Code = 5
- DB(Level%, 3).NumberOne = 3
- DB(Level%, 3).Default = 1
- DB(Level%, 3).TextString = "11,10,12,10,13,10" 'Location String (delimiter = ,)
- DB(Level%, 3).WindowColor = c1
- DB(Level%, 3).SelectedColor = c1
- DB(Level%, 3).StarColor = c1
-
- DB(Level%, 4).Code = 6
- DB(Level%, 4).Y = 11
- DB(Level%, 4).X = 14
- DB(Level%, 4).Text = "Factors of ~10"
- DB(Level%, 4).TextColor = c1
- DB(Level%, 4).KeyColor = c4
- DB(Level%, 4).Link = 3
- DB(Level%, 4).NumberOne = 1
-
- DB(Level%, 5).Code = 6
- DB(Level%, 5).Y = 12
- DB(Level%, 5).X = 14
- DB(Level%, 5).Text = "Factors of ~20"
- DB(Level%, 5).TextColor = c1
- DB(Level%, 5).KeyColor = c4
- DB(Level%, 5).Link = 3
- DB(Level%, 5).NumberOne = 2
-
- DB(Level%, 6).Code = 6
- DB(Level%, 6).Y = 13
- DB(Level%, 6).X = 14
- DB(Level%, 6).Text = "Factors of 2~3"
- DB(Level%, 6).TextColor = c1
- DB(Level%, 6).KeyColor = c4
- DB(Level%, 6).Link = 3
- DB(Level%, 6).NumberOne = 3
-
- DB(Level%, 7).Code = 8
- DB(Level%, 7).Y = 10
- DB(Level%, 7).X = 9
- DB(Level%, 7).Height = 4
- DB(Level%, 7).Wdth = 20
- DB(Level%, 7).BorderType = 1
- DB(Level%, 7).SecondaryColor = c1
- DB(Level%, 7).Text = "Display:"
- DB(Level%, 7).TextColor = c1
-
- DB(Level%, 8).Code = 8
- DB(Level%, 8).Y = 10
- DB(Level%, 8).X = 35
- DB(Level%, 8).Height = 2
- DB(Level%, 8).Wdth = 23
- DB(Level%, 8).BorderType = 1
- DB(Level%, 8).SecondaryColor = c1
- DB(Level%, 8).Text = "Answer:"
- DB(Level%, 8).TextColor = c1
-
- DB(Level%, 9).Code = 7
- DB(Level%, 9).Y = 16
- DB(Level%, 9).X = 30
- DB(Level%, 9).Text = "~OK"
- DB(Level%, 9).PrimaryColor = c1
- DB(Level%, 9).WindowColor = c1
- DB(Level%, 9).SelectedColor = c3
- DB(Level%, 9).KeyColor = c4
- DB(Level%, 9).SecondaryColor = c4
- DB(Level%, 9).Default = 1
-
- DB(Level%, 10).Code = 0
-